home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 June
/
ccd0605.iso
/
Software
/
Shareware
/
Utilitare
/
chartist
/
wcharp43.exe
/
{app}
/
shapes.txt
< prev
next >
Wrap
Text File
|
2002-10-18
|
4KB
|
100 lines
IMPORTANT SHAPE LIBRARY INFORMATION
October, 2002
USING AN EXISTING SHAPE FILE
TO CREATE A CUSTOM SHAPE LIBARY
Copyright 2002, Novagraph, Richardson, Texas
You can create your own custom library subset from a shape library. You can
easily create a library from it that includes only the shapes that you want.
You can then load this derived library into Chartist and use it for your chart
documents.
What you need:
1. The shape file you want to modify
2. Chartist or Chartist-Pro
3. A plain ASCII text editor, such as Notepad in Windows. The editor
must NOT introduce TABS or other formatting characters into the
document it is editing.
Procedure:
1. Make sure the shape file is available on the same path as your
standard shape file (SHAPES.SHP). Copy it from the
distribution disk if necessary.
2. Run Chartist and use the Load Shapes... command to load the
shape file as the current shape file.
3. Choose the Symbol Shape... command and scroll through the shape list.
Make note of the exact names of the shapes that you want to include
(or exclude) from your custom library.
NOTE: TWO SHAPES (Rect and Titl-Cent) and TWO ARROWS (Clsd-2:1-F
and Open-2:1) are required in a shape library. The program will
not operate correctly without these items in the library.
4. Copy the original shape file into the target custom shape library file.
You can then edit the custom library without losing the original
5. Use your Text Editor to remove the shape and arrow definitions that
you do not want.
In the library, shape definitions begin with a "$" immediately
followed by the shape name. This is followed by several lines of
numbers, and then a new shape definition begins. The shapes are
defined first and appear in (mostly) alphabetical order, followed
by the arrows. Arrow definitions begin with a "@" immediately
preceding the Arrow names.
The easiest way to remove a shape is to change the "$" that
immediately precedes the shape name to a "?". This will cause
the shape definition to be ignored when the library is loaded. This
technique will allow you to restore a deleted shape by changing
the "?" back to a "$" with your text editor and reloading
the library into Chartist-Pro.
For example, to remove the shape: Diam-Shad (Shadowed diamond)
from the library, you would locate "$Diam-Shad" in the library
and change the "$" to a "?" as shown below:
...
...
$Diam
2, 4,-50, 0, 0, 50, 50, 0, 0,-50, 32767
-35,-35, 35, 35
-50,-50, 50, 50
===>> ?Diam-Shad
19
2, 4,-44, 6, 6, 56, 56, 6, 6,-44
5
2, 4,-50, 0, 0, 50, 50, 0, 0,-50, 32767
-35,-35, 35, 35
-50,-50, 56, 56
$Disk-A
2,12,-38,-50,-44,-30,-46,-10,-46, 10,-44, 30,-38, 50
50, 50, 44, 30, 42, 10, 42,-10, 44,-30, 50,-50
32767
-38,-50, 38, 50
-50,-50, 50, 50
...
...
Shapes deleted in this way are not loaded into memory, and do not
waste any space when you run Chartist. DO NOT DELETE Rect OR
Titl-Cent SHAPE DEFINITIONS, OR CHARTIST WILL NOT WORK!
Since there are fewer arrow definitions, you should not need to
delete them. But if you must, use exactly the same technique as
above, only change the "@" to a "?" character. YOU MUST LEAVE THE
FIRST TWO ARROW DEFINITIONS ALONE, OR CHARTIST WILL NOT WORK!
6. Save your new library file, and use the Load Shapes... command in
Chartist or Chartist-Pro to make it the selected library.
###